#include <REGX52.H>
#include "Delay.h"
#include "UART.h"
unsigned char Sec;
void main(void)
{
	UART_Init();
	while (1)
	{
		
	}
}

void UART_Routine(void) interrupt 4
{
	if (RI)				//检测串口1接收中断
	{
		RI = 0;			//清除串口1接收中断请求位
		P2 = SBUF;
		UART_SendByte(SBUF);
	}
}
